Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.forum.pageprovider--providers

This contribution is part of XML component org.nuxeo.ecm.platform.forum.pageprovider inside nuxeo-platform-forum-7.10.jar /OSGI-INF/forum-pageprovider-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="GET_FORUM_MODERATION_TASKS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:targetDocumentId = ? AND nt:task_variables/*/key = 'commentId' AND
            nt:task_variables/*/value = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="GET_FORUM_MODERATION_TASKS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:targetDocumentId = ? AND nt:task_variables/*/key = 'commentId' AND
        nt:task_variables/*/value = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

  </extension>